<template>
	<view>
		<view class="index-content"  :style="{ paddingTop: iStatusBarHeight + 'px'}" style="padding-bottom: 20px;">
			<view class="cu-bar search" >
				<view class="action">
					<text class="cuIcon-back text-white"></text>
				</view>
				<view class="search-form round">
					<text class="cuIcon-search"></text>
					<input @blur="InputBlur" :adjust-position="false" type="text" placeholder="搜索" confirm-type="search"></input>
				</view>
			</view>
			
			
			<view class="cu-bar">
				<view class="action sub-title">
					<text class="text-xl text-bold text-white">热门搜索</text>
					<text class="bg-white"></text>
					<!-- last-child选择器-->
				</view>
			</view>
			
			<view class="flex flex-wrap">
				<view class="basis-xs margin-xs padding-sm cu-tag line-white round">MK</view>
				<view class="basis-xs margin-xs padding-sm cu-tag line-white round">GROK</view>
				<view class="basis-xs margin-xs padding-sm cu-tag line-white round">MEME</view>
				<view class="basis-xs margin-xs padding-sm cu-tag line-white round">brc2.0</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				iStatusBarHeight:0
			}
		},
		onLoad() {
			this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
		},
		methods: {
			InputBlur(e){
				console.log(e.detail.value);
			}
		}
	}
</script>

<style>
	.index-content {
		width: 100%;
		min-height: 100vh;
		background: #191e32;
		padding: 50rpx 20rpx;
	}
</style>
